@import './reset.css';

&::-webkit-scrollbar {
    width: 8px;
    background: #041540;
}

&::-webkit-scrollbar-corner,
/* 滚动条角落 */
&::-webkit-scrollbar-thumb,
&::-webkit-scrollbar-track {
    border-radius: 4px;
}

&::-webkit-scrollbar-corner,
&::-webkit-scrollbar-track {
    /* 滚动条轨道 */
    background-color: rgba(180, 160, 120, 0.1);
    box-shadow: inset 0 0 1px rgba(180, 160, 120, 0.5);
}

&::-webkit-scrollbar-thumb {
    /* 滚动条手柄 */
    background-color: #013CD9;
}

.clearfix:after {
    content: ".";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden
}

.eli {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.a-prompt {
    padding-left: 60px;
    padding-right: 60px;
    position: relative;
    display: flex;
    align-items: center;
    padding-top: 20px;

    span {
        font-size: 26px;
        display: block;
        line-height: 1.5em;
        font-weight: bold;
        color: #52fffd;
        margin-left: 10px;
        white-space: pre-wrap;

    }

}

.position-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.form-control {
    display: block;
    width: 100%;
    height: 34px;
    padding: 6px 12px;
    font-size: 16px;
    line-height: 1.42857143;
    color: rgba(146, 192, 255, 1);
    background-color: rgba(0, 70, 255, 0.1);
    background-image: none;
    border: 1px solid #0046FF;
    border-radius: 4px;
    box-shadow: inset 0 1px 1px rgba(0, 70, 255, .075);
    transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
}

.form-control:focus {
    border-color: #0046FF;
    outline: 0;
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 8px rgba(0, 70, 255, 0.6);
}

.a-btn {
    line-height: 1.499;
    position: relative;
    display: inline-block;
    font-weight: 400;
    white-space: nowrap;
    text-align: center;
    background-image: none;
    border: 1px solid transparent;
    -webkit-box-shadow: 0 2px 0 rgba(0, 0, 0, 0.015);
    box-shadow: 0 2px 0 rgba(0, 0, 0, 0.015);
    cursor: pointer;
    -webkit-transition: all .3s cubic-bezier(.645, .045, .355, 1);
    transition: all .3s cubic-bezier(.645, .045, .355, 1);
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -ms-touch-action: manipulation;
    touch-action: manipulation;
    height: 34px;
    padding: 0 15px;
    font-size: 16px;
    border-radius: 4px;
    color: #fff;
    background-color: #0046FF;
    border-color: #0046FF;
    text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.12);
}

.a-btn:active {
    background: rgba(0, 70, 255, .6);
}


.checkbox {
    display: inline-block;
    vertical-align: baseline;

    input {
        display: none;
    }

    label {
        display: inline-block;
        padding-left: 26px;
        position: relative;

        cursor: pointer;

        &:after {
            display: block;
            content: "";
            width: 16px;
            height: 16px;
            background: rgba(0, 70, 255, 0.1);
            border-radius: 2px;
            border: 1px solid rgba(0, 70, 255, 1);
            position: absolute;
            top: 50%;
            left: 0;
            transform: translateY(-50%);
            z-index: 10;
            transition: all .3s ease-in;
        }
    }

    input[type="checkbox"]:checked+label {
        &:before {
            display: block;
            content: "\2714";
            .position-center;
            left: 10px;
            z-index: 11;
            transition: all .3s ease-in;
        }

        &:after {
            background: #0046FF;
        }
    }


}


.form-box {
    background: rgba(3, 39, 144, .3);
    padding: 14px 6px;
    margin: 20px;

    .a-btn {
        min-width: 108px;
    }

    &>table {
        width: 100%;
        table-layout: fixed;

        color: #fff;
        font-size: 16px;

        th,
        td {
            padding: 5px;
        }

        th {
            text-align: right;
            width: 130px;
        }

    }
}

.tab-group {
    font-size: 0;
    margin: 20px;

    a {
        color: #fff;
        display: inline-block;
        font-size: 16px;
        border: 1px solid #0046FF;
        text-align: center;
        width: 108px;
        height: 34px;
        line-height: 34px;
        transition: all .3s;

        &:last-child {
            border-left: none
        }

        &:hover,
        &.on {
            background: #0046FF;
            border-color: #0046FF;
        }

    }
}

.a-tit {

    padding-top: 13px;
    padding-left: 60px;
    font-size: 20px;
    line-height: 26px;


}

.a-table-list {
    margin: 5px 20px 0 20px;

    table {
        width: 100%;
        table-layout: fixed;
    }

    th,
    td {

        border: 1px solid #0046FF;
        text-align: center;

        .link-detail {
            color: #FDFD64;
            text-decoration: underline;
            cursor: pointer;
        }
    }

    thead {


        tr {
            background: #032790;

            th,
            td {
                height: 50px;

                border-top-width: 4px;
                font-size: 16px;
                font-family: MicrosoftYaHei;
                color: rgba(81, 254, 252, 1);
            }
        }
    }

    tbody {

        th,
        td {
            height: 38px;

            &.eli {
                white-space: nowrap;
                overflow: hidden;
                text-overflow: ellipsis;
            }


        }
    }

}


html {
    height: 100%;
    width: 100%;
    background: url("../img/bg.png") no-repeat center;
    background-color: #051443;
    overflow: hidden;
    background-size: cover;
}

body {
    width: 1920px;
    height: 1080px;
    position: absolute;
    top: 50%;
    left: 50%;
    font-size: 16px;
    color: #fff;
    transform: translate(-50%, -50%);

}

.header {
    background: url("../img/header.png") no-repeat center;
    height: 100px;
}

.main {
    padding: 7px 20px 20px 20px;
    height: 980px;

    .navs {
        float: left;
        width: 149px;
        text-align: center;
        height: 100%;

        .nav-item {
            height: 100%/5;
            position: relative;

            a {
                display: inline-block;
                .position-center;
                padding-top: 95px;
                font-size: 18px;
                line-height: 24px;
                width: 80px;
                color: #fff;
                background: url("../img/icon_qyfx.png") no-repeat center top;
                transition: all .3s ease-in-out;

                &:hover,
                &.on {
                    background: url("../img/icon_qyfx_on.png") no-repeat center top;

                }

                &.cphx {
                    background: url("../img/icon_cphx.png") no-repeat center top;

                    &:hover,
                    &.on {
                        background: url("../img/icon_cphx_on.png") no-repeat center top;

                    }
                }

                &.tdpchx {
                    background: url("../img/icon_tdpchx.png") no-repeat center top;

                    &:hover,
                    &.on {
                        background: url("../img/icon_tdpchx_on.png") no-repeat center top;

                    }
                }

                &.scxszk {
                    background: url("../img/icon_scxszk.png") no-repeat center top;

                    &:hover,
                    &.on {
                        background: url("../img/icon_scxszk_on.png") no-repeat center top;

                    }
                }

                &.tsgz {
                    background: url("../img/icon_cphx.png") no-repeat center top;

                    &:hover,
                    &.on {
                        background: url("../img/icon_cphx_on.png") no-repeat center top;

                    }
                }
            }
        }
    }



    .content-box {
        float: right;
        width: 1920px-189px;
        height: 100%;



        .tdpchx {
            // 特定批次画像
            width: 100%;
            height: 100%;
            position: relative;
            background: url("../img/tdpc_bg.png") no-repeat center;

            .checkbox {
                margin-right: 84px;
                color: #92C0FF;
            }

            .tdpchx-tit {
                padding-top: 13px;
                padding-left: 60px;
                font-size: 20px;
                line-height: 26px;

            }



            .tree-box {
                height: 580px;
            }

        }

        // 特定批次画像K结束
        //生产销售质控
        .scxszk {
            // 特定批次画像
            width: 100%;
            height: 100%;
            position: relative;
            background: url("../img/scxszk.png") no-repeat center;



            .sc-left {
                float: left;
                width: 530px;
                height: 100%;
                position: relative;

                .rkxs {
                    position: absolute;
                    display: block;
                    width: 148px;
                    height: 110px;
                    bottom: 226px;
                    left: 94px;
                }

                .zkzb {
                    position: absolute;
                    display: block;
                    width: 176px;
                    height: 123px;
                    bottom: 37px;
                    left: 26px;
                }

                .ycfy {
                    position: absolute;
                    display: block;
                    width: 148px;
                    height: 129px;
                    bottom: 80px;
                    right: 26px;
                }


            }

            .sc-right {
                float: right;
                width: 1193px;
                height: 100%;

            }
        }

        // 生产销售质控jieshu
    }
}

.tree-wrapper {
    margin-left: 335px;
}

.root-box {
    vertical-align: top;
    margin-bottom: 14px;
    position: relative;

    li {
        margin-bottom: 14px;
        position: relative;

        &::after {
            display: block;
            content: "";
            width: 2px;
            background: #269BFF;
            height: 14px;
            position: absolute;
            left: 50%;
            transform: translateX(-50%);
            bottom: -14px;
        }

        &:last-child {
            &::after {
                display: none;

            }
        }

        .line {
            display: inline-block;
            width: 2px;

            background: #269BFF;
            position: absolute;
            top: 160px;
            left: 116px;
            bottom: -14px;
        }

        &:last-child {
            .line {
                width: 0;
            }
        }

    }

    ul {
        position: absolute;
        top: 0;
        margin-left: 280px;
        vertical-align: top;



    }

    .left-ul {
        position: absolute;
        top: 0;
        left: -282px;

        .tree-item {
            margin-bottom: 14px;
            display: block;

            &::before {
                display: block;
                content: "";
                width: 2px;
                background: #269BFF;
                height: 14px;
                position: absolute;
                left: 50%;
                transform: translateX(-50%);
                bottom: -14px;
            }

            &:last-child {
                &::before {
                    display: none;

                }
            }
        }
    }

    .bottom-ul {
        position: absolute;


        .tree-item {
            margin-bottom: 14px;
            display: block;

            &::before {
                display: block;
                content: "";
                width: 2px;
                background: #269BFF;
                height: 14px;
                position: absolute;
                left: 50%;
                transform: translateX(-50%);
                bottom: -14px;
            }

            &:last-child {
                &::before {
                    display: none;

                }
            }
        }
    }




}

.tree-item {
    display: inline-block;
    width: 220px;
    // min-height: 160px;
    padding: 14px;
    border: 2px solid #2FCA71;
    background: rgba(47, 202, 113, .3);
    border-radius: 6px;
    position: relative;

    .a-icon {
        display: inline-block;
        width: 28px;
        height: 28px;
        background: url("../img/tree/icon_ss.png") no-repeat center;
        position: absolute;
        top: 60px;
        right: -35px;
        cursor: pointer;
        z-index: 12;

        &.left {
            top: 60px;
            right: inherit;
            left: -36px;

            &:after {
                display: block;
                content: "";
                width: 9px;
                height: 2px;
                background: #269BFF;
                position: absolute;
                top: 50%;
                transform: translateY(-50%);
                left: initial;
                right: -7px;

            }

            &.a-icon-open {
                background: url("../img/tree/icon_zk.png") no-repeat center;

                &:before {
                    display: block;
                    content: "";
                    width: 28px;
                    height: 2px;
                    background: #269BFF;
                    position: absolute;
                    top: 50%;
                    transform: translateY(-50%);
                    left: -28px;

                }
            }
        }

        &.bottom {
            right: inherit;
            top: inherit;
            right: inherit;
            bottom: -42px;
            left: 50%;
            transform: translateX(-50%);


            &:after {
                display: block;
                content: "";
                width: 2px;
                height: 8px;
                background: #269BFF;
                position: absolute;
                left: 50%;
                transform: translateX(-50%);
                top: -8px;

            }

            &.a-icon-open {
                background: url("../img/tree/icon_zk.png") no-repeat center;

                &:before {
                    display: block;
                    content: "";
                    width: 2px;
                    height: 28px;
                    background: #269BFF;
                    position: absolute;
                    top: inherit;
                    right: inherit;
                    left: 50%;
                    transform: translateX(-50%);
                    bottom: -28px;

                }
            }
        }


        &:after {
            display: block;
            content: "";
            width: 9px;
            height: 2px;
            background: #269BFF;
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            left: -7px;
            z-index: 1;

        }

        &.a-icon-open {
            background: url("../img/tree/icon_zk.png") no-repeat center;

            &:before {
                display: block;
                content: "";
                width: 30px;
                height: 2px;
                background: #269BFF;
                position: absolute;
                top: 50%;
                transform: translateY(-50%);
                right: -27px;

            }
        }
    }

    h5 {
        font-size: 18px;
        color: rgba(255, 255, 255, 1);
        line-height: 24px;
        padding-right: 30px;
    }

    p {
        font-size: 16px;
        color: rgba(255, 255, 255, 1);
        line-height: 21px
    }

    &:after {
        display: block;
        width: 56px;
        height: 56px;
        content: "";
        // background: url("../img/tree/pic_jb_c.png") no-repeat center;
        position: absolute;
        top: 0;
        right: 0;
    }

    &.a-c {
        border-color: #2FCA71;
        background: rgba(47, 202, 113, .3);

        &:after {
            background: url("../img/tree/pic_jb_c.png") no-repeat center;

        }
    }

    &.a-k {
        border-color: #269BFF;
        background: rgba(28, 155, 255, .3);

        &:after {
            background: url("../img/tree/pic_jb_ku.png") no-repeat center;

        }
    }

    &.a-kong {
        border-color: #CB2B88;
        background: rgba(224, 16, 136, .3);

        &:after {
            background: url("../img/tree/pic_jb_k.png") no-repeat center;

        }
    }

    &.a-x {
        border-color: #FF8516;
        background: rgba(255, 133, 22, .3);

        &:after {
            background: url("../img/tree/pic_jb_x.png") no-repeat center;

        }
    }

    &.a-z {
        border-color: #E24341;
        background: rgba(226, 67, 65, .3);

        &:after {
            background: url("../img/tree/pic_jb_z.png") no-repeat center;

        }
    }

    &.a-f {
        border-color: #436694;
        background: rgba(51, 85, 129, .3);

        &:after {
            background: url("../img/tree/pic_jb_f.png") no-repeat center;

        }
    }

    &.a-t {
        border-color: #7630ED;
        background: rgba(118, 48, 237, .3);

        &:after {
            background: url("../img/tree/pic_jb_t.png") no-repeat center;

        }
    }

    &.a-y {
        border-color: #BC9C2D;
        background: rgba(188, 156, 45, .3);

        &:after {
            background: url("../img/tree/pic_jb_y.png") no-repeat center;

        }
    }

    &.a-ye {
        border-color: #FF2C29;
        background: rgba(255, 44, 41, .3);

        &:after {
            background: url("../img/tree/pic_jb_ye.png") no-repeat center;

        }
    }

    &.a-zhu {
        border-color: #E15D36;
        background: rgba(225, 93, 52, .3);

        &:after {
            background: url("../img/tree/pic_jb_zhu.png") no-repeat center;

        }
    }

    &.a-g {
        border-color: #8E1BA6;
        background: rgba(147, 27, 168, .3);

        &:after {
            background: url("../img/tree/pic_jb_g.png") no-repeat center;

        }
    }

    &.a-q {
        border-color: #71C11A;
        background: rgba(113, 193, 26, .3);

        &:after {
            background: url("../img/tree/pic_jb_q.png") no-repeat center;

        }
    }
}

.a-click-style {
    color: #F8E71C;
    text-decoration: underline;
    cursor: pointer;
}

.modal-pie2 {
    background: url("../img/tsgz/modal-bg-right.png") no-repeat center;
    background-size: 100% 100%;
    position: relative;



}

.pos-tit {
    position: absolute;
    top: 14px;
    left: 19px;
    width: 281px;
    height: 52px;
    background: url("../img/tsgz/little-tit.png") no-repeat center;
    background-size: 100% 100%;
    z-index: 2;

}

.tsgz-box {
    width: 100%;
    height: 100%;



    a.links-btn {
        display: inline-block;
        width: 214px;
        height: 70px;
        font-size: 16px;
        font-family: MicrosoftYaHei;
        color: rgba(56, 235, 249, 1);
        line-height: 21px;
        position: relative;
        background: url("../img/tsgz/btn_bg1.png") no-repeat center;

        &:first-child {
            margin-right: 50px;
        }

        img {
            width: 38px;
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            left: 0px;
            margin: 0 10px 0 19px;
        }

        span {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            left: 67px;
        }

    }



    .tsgz-left {
        float: left;
        width: 823px;
        height: 100%;
        background: url("../img/tsgz/ts-bg1.png") no-repeat center;
        background-size: 100% 100%;
        position: relative;

        .bottom-links {
            position: absolute;
            bottom: 60px;
            font-size: 0;
            left: 0;
            right: 0;
            text-align: center;


        }

        .count-statistical {
            padding: 54px 30px;


            table {
                width: 100%;
                margin: 0 30px;

                td,
                th {
                    text-align: center;
                    padding: 8px 2px;
                    font-size: 16px;
                    color: rgba(255, 255, 255, 1);
                    line-height: 21px;

                    .count-tit {
                        position: relative;

                        &::after {
                            display: inline-block;
                            content: "";
                            width: 36px;
                            height: 2px;
                            background: url("../img/tsgz/pic_sz_left.png") no-repeat center;
                            position: absolute;
                            top: 50%;
                            transform: translateY(-50%);
                            left: -42px;

                        }

                        &::before {
                            display: inline-block;
                            content: "";
                            width: 36px;
                            height: 2px;
                            background: url("../img/tsgz/pic_sz_right.png") no-repeat center;
                            position: absolute;
                            top: 50%;
                            transform: translateY(-50%);
                            right: -42px;

                        }
                    }

                    .n-item {
                        background: rgba(10, 84, 234, 1);
                        width: 36px;
                        display: inline-block;
                        text-align: center;
                        border-radius: 3px;
                        margin: 0 3px;
                        font-size: 42px;
                        font-family: DINPro-Bold;
                        font-weight: bold;
                        color: rgba(255, 255, 255, 1);
                        line-height: 54px;
                    }
                }
            }
        }


        .tit-pie {

            font-size: 19px;
            font-family: MicrosoftYaHei;
            color: rgba(82, 255, 253, 1);
            line-height: 42px;
            text-align: center;
            background: url("../img/tsgz/titlt-pie.png") no-repeat center;
        }

    }

    .tsgz-right {
        float: right;
        width: 900px;
        height: 100%;
        background: url("../img/tsgz/ts-bg2.png") no-repeat center;
        background-size: 100% 100%;
        position: relative;

        .bottom-form {
            position: absolute;
            bottom: 16px;
            left: 16px;
            right: 16px;
            min-height: 164px;
            background: rgba(4, 21, 63, 0.8);
            border: 1px solid rgba(0, 70, 255, 1);
            padding: 20px 40px;

            table {
                width: 100%;
                table-layout: fixed;

                th {
                    text-align: right;
                }

                th,
                td {
                    font-size: 16px;
                    font-family: MicrosoftYaHei;
                    color: rgba(255, 255, 255, 1);
                    line-height: 21px;
                    padding: 5px;

                    button {
                        min-width: 108px;

                        &:first-child {
                            margin-right: 15px;
                        }
                    }
                }
            }
        }

        .jstj {
            position: absolute;
            top: 177px;

            img {
                width: 17px;
                vertical-align: text-top;
                margin-top: 2px;
            }

            right: 40px;
        }

        .phz {
            position: absolute;
            top: 40px;
            right: 40px;
            display: inline-block;
            width: 110px;
            height: 110px;
            background: url("../img/tsgz/bg_jqpjz@2x.png") no-repeat center;
            background-size: 100% 100%;

            .txt {
                .position-center;
                font-size: 12px;
                font-family: MicrosoftYaHei;
                color: rgba(255, 255, 255, 1);
                line-height: 20px;
                text-align: center;
                width: 100%;

                .num {
                    font-size: 22px;
                    font-family: DINPro-Bold;
                    font-weight: bold;
                    color: rgba(255, 255, 255, 1);
                    line-height: 28px;
                }
            }
        }

        .ts-r-btn {
            position: absolute;
            top: 60px;
            left: 0;
            right: 0;
            font-size: 0;
            text-align: left;
            padding-left: 50px;


            a.links-btn {
                background: url("../img/tsgz/btn_bg2.png") no-repeat center;
                width: 200px;
                margin-right: 20px;
            }
        }


    }

}